package org.fireflow2.designer.eclipse.parts.designer;

import org.eclipse.gef.EditPolicy;
import org.fireflow2.designer.eclipse.parts.basic.BasicActivityPart;
import org.fireflow2.designer.eclipse.policies.NodeEditPolicy;
import org.fireflow2.designer.eclipse.policies.NodeGraphicalNodeEditPolicy;
import org.fireflow2.designer.eclipse.policies.WorkflowNodeHighlightEditPolicy;
import org.fireflow2.designer.eclipse.policies.activity.ActivityLayoutPolicy;



public class ActivityPart4Designer extends BasicActivityPart {

	@Override
	protected void createEditPolicies() {
		installEditPolicy(EditPolicy.COMPONENT_ROLE, new NodeEditPolicy());
		installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE,
				new NodeGraphicalNodeEditPolicy());

		installEditPolicy(EditPolicy.LAYOUT_ROLE,
				new ActivityLayoutPolicy());
		
//		installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new WorkflowNodeHighlightEditPolicy());


	}

}
